<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>第一天练习代码</title>
    </head>
    <body>
        
        <script>
            function goDay1(){
                location.href = './router.html'
            }
        </script>
        <button onclick="goDay1()">返回到路由</button>

        <style>
            h2{color:red;}
        </style>

        <h1>标题1</h1>
        <h2>标题2</h2>

        <!-- 聊天窗体基本布局 -->
        <style>
            .message-layout{
                width:600px;
                height:400px;
                background: grey;
                display: flex;
                border-radius: 10%;
                border:1px solid #ECECEC;
            }
            .siderbar{
                width:20%;
                height: 100%;
                /* background: blue; */
            }
            .content{
                width:80%;
                height: 100%;
                /* background: cyan; */

            }
        </style>
        <div class="message-layout">
            <div class="siderbar">

            </div>
            <div class="content">

            </div>
        </div>
    </body>
</html>